﻿using System;
using System.IO;
using System.Windows.Forms;
using Microsoft.WowAddonStudio.FrameXml.Designer.Properties;

namespace Microsoft.WowAddonStudio.FrameXml.Designer
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            if (!Directory.Exists(Settings.Default.WowBasePath))
                MessageBox.Show("World of Warcraft base path must be properly configured for FrameXML Designer.");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrameXmlDesignerForm());
        }
    }
}
